home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / gfx / x11 / compileX11.lha / compX11 / README < prev   
Text File  |  1995-04-25  |  1KB  |  46 lines

  1.  
  2.              How to compile X11-programms using GCC
  3. ---------------------------------------------------------------------
  4.  
  5. Some weeks ago I uploaded xv3.1 - later I got lots of questions how to
  6. compile X-stuff.
  7.  
  8. Its' simple:
  9.  
  10.  -obtain X-includes from a workstation (include/X11)
  11.  
  12.  -obtain X11libs.lha from Aminet:
  13.    copy all libs containing a X-character into your gcc/lib-drawer
  14.    rename the file libc.a to libcX11.a and copy it into the same drawer
  15.  
  16.  -now browse through your makefile, search for lines like:
  17.  
  18.    LIBS = -lX11 $(JPEGLIB) $(TIFFLIB) -lm (this one is from xv)
  19.  
  20.  -replace the "-lX11" by "-lX11 -lnet -lcX11 -lamiga":
  21.  
  22.    LIBS = $(JPEGLIB) $(TIFFLIB) -lm -lX11 -lnet -lcX11 -lamiga
  23.  
  24.  -that's it
  25.  
  26. NOTE: I think most of you deleted the libc.a from the archieve
  27.       because the README-file says nothing about it.
  28.       (I did so for the 1st time - and got the errror-messages).
  29.  
  30.       I will include libcX11.a in this archieve because I think most
  31.       of you own the other libs and the includes.
  32.  
  33. BTW: Is there a DaggeX featuring 256-colors without gfx-boards (AGA) ?
  34.  
  35. ---------------------------------------------------------------------
  36.  
  37.                          Andreas Maschke
  38.                          Zenkerstraße 5
  39.                          06108 Halle/Saale
  40.                          Germany
  41.  
  42.                    Phone: ++49 (0)345/5170331
  43.                    EMail: epgbc@cluster1.urz.Uni-Halle.DE
  44.  
  45.  
  46.